#ifndef _SGE_IEDITOR_COMPONENT_H_
#define _SGE_IEDITOR_COMPONENT_H_

class Editor;

class IEditorComponent
{
public:
	IEditorComponent(Editor* editor)
		:editor(editor)
	{
	}

	virtual void init() = 0;
	virtual void render() = 0;
	virtual void onPreEdit() = 0;
	virtual void onPostEdit() = 0;

	virtual ~IEditorComponent()
	{
	}

protected:
	Editor* editor;
};

#endif